from SowarnaConfig import SowarnaDefaultConfig

class SowarnaMediator(object):

    def __init__(self, config=SowarnaDefaultConfig()):
        self._config = config
        
    def setControlHandler(self, controlBackend):
        self._controlBackend = controlBackend
        
    def setCacheHandler(self, cacheBackend):
        self._cacheBackend = cacheBackend
        
    def setDataHandler(self, dataBackend):
        self._dataBackend = dataBackend